package me.CSmethod.demo;

import java.util.Random;

public class Text5 {
    public static void main(String[] args) {
        char c[]=new char[52];
        for (int i = 0; i < c.length; i++) {
            if(i<=25){
                c[i]=(char)(65+i);
            }else{
                c[i]=(char)(97+i-26);
            }
        }
        String resurt="";
        Random random = new Random();
        for(int i=1;i<=4;i++){
            int index = random.nextInt(c.length);
            resurt+=c[index];
        }
        int number = random.nextInt(10);

        System.out.println(resurt+number);
    }
}
